import request from '@/utils/request'

// 查询奖惩考核管理列表
export function listRePunAssess(query) {
  return request({
    url: '/hr/rePunAssess/list',
    method: 'get',
    params: query
  })
}

// 查询奖惩考核管理详细
export function getRePunAssess(id) {
  return request({
    url: '/hr/rePunAssess/' + id,
    method: 'get'
  })
}

// 新增奖惩考核管理
export function addRePunAssess(data) {
  return request({
    url: '/hr/rePunAssess',
    method: 'post',
    data: data
  })
}

// 修改奖惩考核管理
export function updateRePunAssess(data) {
  return request({
    url: '/hr/rePunAssess',
    method: 'put',
    data: data
  })
}

// 删除奖惩考核管理
export function delRePunAssess(id) {
  return request({
    url: '/hr/rePunAssess/' + id,
    method: 'delete'
  })
}
